package 寒假作业.NC;

public class NC32 {
    public int sqrt (int x) {
        int resault = 0;
        while((long)resault * resault <= x){
            ++ resault;
        }
        return --resault;
    }
}
